<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        async function test() {
            const arr = []
            arr.length = 1000
            arr.fill('东东练练原地结婚')
            const fetchArr = arr.map((_, key) => fetch('http://122.9.139.38:4000/message?杜老师好帅=' + _).then(res => res.json()))
            console.log(arr)
            const result = await Promise.all(fetchArr)
            console.log(result)
        }
        test()
    </script>
</body>

</html>